<template>
  <div class="container" style="margin-top: 50px; margin-bottom: 50px;">
    <el-card shadow="always">
      <el-row>
        <el-col :span="24">
          <el-result icon="error" title="错误提示" subTitle="预订失败，请重新选择航班进行预订。">
            <template slot="extra">
              <el-button type="text" @click="toIndex">重新查询航班</el-button>
            </template>
          </el-result>
        </el-col>
      </el-row>
    </el-card>
  </div>
</template>

<script>
export default {
  name: "ReservationFail",
  methods: {
    // 前往首页
    toIndex() {
      this.$router.push({ path: ''})
    }
  }
}
</script>

<style scoped>

</style>
